package com.wego.entity.domain;

import java.io.Serializable;
import java.time.LocalDateTime;
import javax.persistence.*;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_loginlog")
public class LoginLog implements Serializable {
    /**
     * 编号
     */
    @Id
    @Column(name = "`no`")
    private Long no;

    /**
     * 登入账号
     */
    @Column(name = "id")
    private String id;

    /**
     * 登入IP
     */
    @Column(name = "ip")
    private String ip;

    /**
     * 登入地点
     */
    @Column(name = "`location`")
    private String location;

    /**
     * 登入时间
     */
    @Column(name = "createtime")
    private LocalDateTime createtime;

}